Page({
    data: {
      imgList: [
        "http://m.qpic.cn/psc?/V116cD6u1CKccd/45NBuzDIW489QBoVep5mcQSJ.JIRXntE8kNpcdOaqLcSCgPbg0G3R45kLN*bS9VZzmynd9RxokhuJzs3FwEL4L*Q3eyLX9nCCZapWMZbzQk!/b&bo=OAT3BQAAAAABF*4!&rf=viewer_4",
      ]
    },
  
    
    preview(event) {
      console.log(event.currentTarget.dataset.src)
      let currentUrl = event.currentTarget.dataset.src
      wx.previewImage({
        current: currentUrl, 
        urls: this.data.imgList 
      })
    },
    theShy: function(e) {
        wx.navigateTo({
          url: '../index/index',
  })  
    }
  })